import { request } from '@/api/request.js'

export const reqUserList = (data) => {
  return request({
    url:'/user/getUserList',
    mock:false,
    method:'GET',
    data
  })
}
export const reqDelteteUser = (data) => {
  return request({
    url:'/user/deleteUser',
    method:'GET',
    mock:false,
    data
  })
}
export const reqAddUser = (data) => {
  return request({
    url:'/user/addUser',
    method:'post',
    mock:false,
    data
  })
}
export const reqEditUser = (data) => {
  return request({
    url:'/user/editUser',
    method:'post',
    mock:false,
    data
  })
}
